package com.example.demo.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.demo.dao.BaseEntity.BaseDO;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 数据库中的用户信息
 */
@Data
@TableName("account")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Account extends BaseDO {
    @TableId(type = IdType.AUTO)
    Integer id;
    String username;
    String password;
    String role;
}
